
public class SimVotePair implements Comparable<SimVotePair> {
	public double similarity;
	public double vote;
	
	public SimVotePair(double similarity, double vote) {
		this.similarity = similarity;
		this.vote = vote;
	}
	
	@Override
	public int compareTo(SimVotePair arg0) {
		if (this.similarity > arg0.similarity) {
			return -1;
		} else if (this.similarity < arg0.similarity) {
			return 1;
		} else {
			return 0;
		}
	}

}
